home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / tabs.xul < prev   
Extensible Markup Language  |  2006-08-23  |  3KB  |  60 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE overlay [
  5. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  6. %brandDTD;
  7. <!ENTITY % tabsDTD SYSTEM "chrome://browser/locale/preferences/tabs.dtd">
  8. %tabsDTD;
  9. ]>
  10.  
  11. <overlay id="TabsPaneOverlay"
  12.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  13.  
  14.   <prefpane id="paneTabs" flex="1">
  15.  
  16.     <preferences id="tabsPreferences">
  17.       <preference id="browser.link.open_external"      name="browser.link.open_external"      type="int"/>
  18.       <preference id="browser.link.open_newwindow"     name="browser.link.open_newwindow"     type="int"/>
  19.       <preference id="browser.tabs.autoHide"           name="browser.tabs.autoHide"           type="bool" inverted="true"/>
  20.       <preference id="browser.tabs.loadInBackground"   name="browser.tabs.loadInBackground"   type="bool" inverted="true"/>
  21.       <preference id="browser.tabs.warnOnClose"        name="browser.tabs.warnOnClose"        type="bool"/>
  22.       <preference id="browser.tabs.warnOnOpen"         name="browser.tabs.warnOnOpen"         type="bool"/>
  23.     </preferences>
  24.     
  25.     <script type="application/x-javascript" src="chrome://browser/content/preferences/tabs.js"/>
  26.  
  27.     <vbox id="linksOpenInBox">
  28.       <label control="linkTargeting">&newPagesIn.label;</label>
  29.       <radiogroup id="linkTargeting" class="indent"
  30.                   preference="browser.link.open_external"
  31.                   onsyncfrompreference="return gTabsPane.readLinkTarget();"
  32.                   onsynctopreference="return gTabsPane.writeLinkTarget();">
  33.         <radio label="&inNewWindow.label;" accesskey="&inNewWindow.accesskey;" value="2"/>
  34.         <radio label="&inNewTab.label;" accesskey="&inNewTab.accesskey;" value="3"/>
  35.       </radiogroup>
  36.     </vbox>
  37.  
  38.     <separator id="tabsSeparator"/>
  39.  
  40.     <!-- XXX flex below and on prefpane is a hack because wrapping checkboxes don't
  41.              reflow properly; see bug 349098 -->
  42.     <vbox id="tabPrefsBox" align="start" flex="1">
  43.       <checkbox id="warnCloseMultiple" label="&warnCloseMultipleTabs.label;"
  44.                 accesskey="&warnCloseMultipleTabs.accesskey;"
  45.                 preference="browser.tabs.warnOnClose"/>
  46.       <checkbox id="warnOpenMany" label="&warnOpenManyTabs.label;"
  47.                 accesskey="&warnOpenManyTabs.accesskey;"
  48.                 preference="browser.tabs.warnOnOpen"/>
  49.       <checkbox id="showTabBar" label="&showTabBar.label;"
  50.                 accesskey="&showTabBar.accesskey;"
  51.                 preference="browser.tabs.autoHide"/>
  52.       <checkbox id="switchToNewTabs" label="&switchToNewTabs.label;"
  53.                 accesskey="&switchToNewTabs.accesskey;"
  54.                 preference="browser.tabs.loadInBackground"/>
  55.     </vbox>
  56.  
  57.   </prefpane>
  58.  
  59. </overlay>
  60.